﻿using log4net;
using System.Data;
using System.Data.SqlClient;
using System.Reflection;
using System;
using Basic4Net.Entities;

namespace Basic4Net.BusinessRules
{
    [Serializable()]
    public abstract class BaseBR
    {
        private ILog _Log;
        /// <summary>
        /// 日志
        /// </summary>
        protected ILog Log
        {
            get
            {
                if (_Log == null)
                    _Log = log4net.LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
                return _Log;
            }
        }
    }
}
